import Vue from 'vue'
import 'babel-polyfill'
import {Button, Message, Input, Avatar} from 'element-ui';
Vue.use(Button)
Vue.use(Input)
Vue.use(Avatar)
Vue.prototype.$message = Message;

import CollapseTransition from 'element-ui/lib/transitions/collapse-transition';
Vue.component(CollapseTransition.name, CollapseTransition)
import config from '@/config'
Vue.prototype.$config = config
import 'element-ui/lib/theme-chalk/index.css'
import App from './App.vue'
import router from './router'
import store from './store'

let vue = new Vue({
  el: '#app',
	router,
	store,
  render: h => h(App)
})

export default vue
